package com.tiny.mirror.service.product.domain.app;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.tiny.mirror.basic.db.domain.ComplexValue;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.javers.core.metamodel.annotation.Value;

@Setter
@Getter
@Accessors(chain = true)
@Value
public class AppParams implements Serializable, ComplexValue {

  @JsonProperty(value = "preview_image")
  private String previewImage;
  // 基础限制用户数量
  @JsonProperty(value = "user_number")
  private Long userNumber;
  // 角色权限
  @JsonProperty(value = "role_perms")
  private String rolePerms;
}
